 * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
      }

      body {
          font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
          background: linear-gradient(135deg, #090a0d, #0f1014);
          color: #f1f1f1;
          min-height: 100%;
          overflow-x: hidden;
          padding: 0;
          background-attachment: fixed
          line-height: 1.6em;
          font-size: 16px;
      }

      /* 几何装饰背景 */
      body::before {
          content: "";
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background:
              radial-gradient(circle at 10% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 20%),
              radial-gradient(circle at 90% 80%, rgba(255, 118, 117, 0.1) 0%, transparent 20%),
              radial-gradient(circle at 50% 30%, rgba(0, 206, 201, 0.05) 0%, transparent 30%);
          z-index: -1;
      }

      /* 网络线条背景 */
      body::after {
          content: "";
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-image:
              linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
          background-size: 40px 40px;
          z-index: -1;
      }

      /* 导航栏 - 浮动布局 */
      header {
          background: rgba(15, 16, 20, 0.85);
          border-bottom: 1px solid rgba(108, 92, 231, 0.3);
          box-shadow: 0 0 15px rgba(108, 92, 231, 0.2);
          position: fixed;
          width: 100%;
          top: 0;
          z-index: 1000;
          backdrop-filter: blur(10px);
      }

      .nav-container {
          max-width: 1200px;
          margin: 0 auto;
          padding: 0 20px;

      }

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.logo {
    float: left;
}

.logo-icon {
    font-size: 2rem;
    color: #6c5ce7;
    margin-right: 10px;
    text-shadow: 0 1px 2px rgba(206, 201, 201, 0.3);
    display: inline-block;
    transition: all 0.4s ease;
}

.logo-text {
    font-family: "Arial Black", sans-serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    background: linear-gradient(to right, #6c5ce7, #c5c0c7, #b8e0e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(108, 92, 231, 0.3);
    display: inline-block;
    vertical-align: middle;
    transition: all 0.4s ease;
}

.nav-links {
    float: right;
    list-style: none;
}

.nav-links li {
    float: left;
    margin-left: 30px;
}

.nav-links a {
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.8px;
    font-size: 18px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #6c5ce7;
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主题部分 */
.themes {
    padding: 120px 30px 80px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    clear: both;
}

/* 清除浮动影响 */
.themes::after {
    content: "";
    display: table;
    clear: both;
}

.themes h3 {
    font-family: "Impact", "Arial Black", sans-serif;
    font-size: 36px;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #f1f1f1, #b8e0e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 2px rgba(206, 201, 201, 0.3);
}

.themes p {
    font-size: 20px;
    color: #a2a2a2;
    max-width: 600px;
    margin: 0 auto;
}

.hero-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, #6c5ce7, #c5c0c7, #b8e0e9, #d9e0e9);
    margin: 30px auto;
    border-radius: 3px;
}

/* 博客网格 - 内容块元素实现 */
.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

/* 清除内部块级元素的空格 */
.blog-grid::after {
    content: "";
    display: table;
    clear: both;
}

.post-card {
    background: linear-gradient(145deg, rgba(244, 25, 31, 0.1), rgba(15, 16, 20, 0.1));
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1);
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 10px 0;
    box-sizing: border-box;
}

.post-card::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(145deg,
        #6c5ce7,
        #c5c0c7,
        #b8e0e9,
        #d9e0e9);
    background-size: 400%;
    z-index: -1;
    border-radius: 12px;
    filter: blur(20px);
    opacity: 0.7;
    animation: gradientFlow 20s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.post-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 25px;
}

.post-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: #a2a2a2;
    text-align: left;
    overflow: hidden;
}

/* 清除浮动 */
.post-meta::after {
    content: "";
    display: table;
    clear: both;
}

.post-author {
    color: #b8e0e9;
    float: left;
}

.post-date {
    float: right;
    color: #a2a2a2;
}

.post-card h2 {
    font-family: "Arial Black", sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.8px;
    line-height: 1.5;
    text-align: left;
}

/* 清除上方边距 */
.post-card h2::before {
    content: "";
    display: table;
    clear: both;
}

.post-card a {
    color: #f1f1f1;
    text-decoration: none;
    position: relative;
}

.post-card a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #d9e0e9, #f1f1f1);
    transition: width 0.4s ease;
}

.post-card a:hover::after {
    width: 100%;
}

.post-excerpt {
    font-size: 16px;
    color: #a2a2a2;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.read-more {
    color: #f1f1f1;
    /*display: inline-block;*/
    position: relative;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    letter-spacing: 0.8px;
    background: linear-gradient(to right, #6c5ce7, #b8e0e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

.read-more::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #6c5ce7;
    transition: width 0.4s ease;
}

.post-card:hover .read-more::after {
    width: 100%;
}

.read-more:hover {
    color: #6c5ce7;
    -webkit-text-fill-color: #6c5ce7;
}

.post-card:hover .read-more {
    color: #6c5ce7;
    -webkit-text-fill-color: #6c5ce7;
}

.post-tags {
    margin-top: 20px;
    text-align: left;
}

.post-tags span {
    background: #6c5ce7;
    color: #f1f1f1;
    padding: 6px 12px;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 14px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    display: inline-block;
    transition: all 0.4s ease;
}

.post-tags span:hover {
    background: #b8e0e9;
    color: #333;
}

/* 页脚 */
footer {
    background: rgba(255, 255, 255, 0.8);
    padding: 50px 0;
    margin-top: 50px;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-family: "Arial Black", sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
    color: #6c5ce7;
}

.footer-section p {
    color: #a2a2a2;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #6c5ce7;
    text-decoration: none;
    transition: all 0.4s ease;
}

.footer-links a:hover {
    color: #b8e0e9;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: #a2a2a2;
    background: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
}

